package com.wjgl.domain;

import java.sql.Timestamp;

/**
 * File entity. @author MyEclipse Persistence Tools
 */

public class File implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private String name;
	private String url;
	private Short isshared;
	private Timestamp uploaddate;

	// Constructors

	/** default constructor */
	public File() {
	}

	/** full constructor */
	public File(User user, String name, String url, Short isshared,
			Timestamp uploaddate) {
		this.user = user;
		this.name = name;
		this.url = url;
		this.isshared = isshared;
		this.uploaddate = uploaddate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Short getIsshared() {
		return this.isshared;
	}

	public void setIsshared(Short isshared) {
		this.isshared = isshared;
	}

	public Timestamp getUploaddate() {
		return this.uploaddate;
	}

	public void setUploaddate(Timestamp uploaddate) {
		this.uploaddate = uploaddate;
	}

}